package com.heima.schedule.service;

import com.heima.model.schedule.dto.Task;

public interface TaskService {
    Long addTask(Task task);

    boolean cancelTask(Long taskId);

    Boolean pollTask();
}
